
class StaticDynamic
{
	public static void main(String args[]){
		Object o = new Tiger();
		Mammal m = (Mammal)o;
		Tiger t = (Tiger)o;
		
		System.out.println(o.toString());
		System.out.println(m.toString());
		System.out.println(t.toString());
	}
}

class Mammal
{
	public String toString(){
		return "I'm a mammal!";
	}
	
	public String shed(){
		return "Shed!";
	}
	
}

class Tiger extends Mammal
{
	public String toString(){
		return "A glorious, striped feline!";
	}
	
	public String growl(){
		return "growl!";
	}
}

